package com.easylinkin.linkappapi.meterbilling.service;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.meterbilling.entity.RechargeRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface RechargeRecordService extends IService<RechargeRecord> {

    /***
     * 分页查询
     * @param page
     * @param rechargeRecord
     * @return
     */
    Page getMeterDeviceConfigList(Page page, RechargeRecord rechargeRecord);

    /***
     * 导出
     * @param rechargeRecord
     * @param request
     * @param response
     */
    void exportData(RechargeRecord rechargeRecord, HttpServletRequest request, HttpServletResponse response);

    /***
     * 获取水电表费用
     * @param rechargeRecord
     * @return
     */
    Map<String,Double> getMeterDeviceConfigCost(RechargeRecord rechargeRecord);
}


